<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>Demo</title>
    <link rel="stylesheet" href="../output/css/all.css"/>
    <link href="http://pic.ofcard.com/themes/admin/plugins/zTree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet"
          type="text/css"/>
</head>
<body style="background-color: #fff !important;" ng-app="admin">
<ui-container style="display: none" controller="CC">

    <div class="row">
        <div class="col-md-12">
            <a class="btn btn-primary" ng-click="addNew()">新增</a>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <ui-tab close="true">
                <ui-tab-item head="我是静态">
                    <ui-form column="1">
                        <ui-form-input label="普通1" placeholder="占位符" help="帮助" model="aaa"></ui-form-input>
                    </ui-form>
                </ui-tab-item>
            </ui-tab>
        </div>
    </div>


</ui-container>
</body>
<script src="../output/lib.js"></script>
<script src="http://pic.ofcard.com/themes/admin/plugins/zTree/jquery.ztree.core-3.5.min.js"
        type="text/javascript"></script>
<script src="http://pic.ofcard.com/themes/admin/plugins/zTree/jquery.ztree.excheck-3.5.js"
        type="text/javascript"></script>
<script src="http://pic.ofcard.com/themes/admin/plugins/zTree/jquery.ztree.exedit-3.5.js"
        type="text/javascript"></script>
<script src="../output/js/all.js"></script>
<script>
    function CC($scope, uiDialog) {
        $scope.addNew = function(){
            $scope.$tab.addTab('测试啊', '123123123123123123', true);
        };
    }
</script>